
package com.zhitan.ems.app.sip.wrapper;
import com.zhitan.ems.app.sip.entity.SipDeviceChannelEntity;
import com.zhitan.ems.app.sip.vo.SipDeviceChannelVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 监控设备通道信息 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:49:44
 */
public class SipDeviceChannelWrapper extends BaseEntityWrapper<SipDeviceChannelEntity, SipDeviceChannelVO>  {
    public static SipDeviceChannelWrapper build() {
        return new SipDeviceChannelWrapper();
    }
	@Override
	public SipDeviceChannelVO entityVO(SipDeviceChannelEntity sipDeviceChannel) {
		if(sipDeviceChannel==null) {
			return null;
		}
		SipDeviceChannelVO sipDeviceChannelVO = BeanUtil.copy(sipDeviceChannel, SipDeviceChannelVO.class);
		return sipDeviceChannelVO;
	}

}
